import { IsString, MinLength, MaxLength } from 'class-validator';

export class CreatePostsDto {
  @IsString()
  readonly name: string;

  @IsString()
  readonly title: string;

  @IsString()
  readonly content: string;
}
